package com.how2java.tmall.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.how2java.tmall.pojo.Propertyvalue;

public interface PropertyvalueMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Propertyvalue record);

    int insertSelective(Propertyvalue record);

    Propertyvalue selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Propertyvalue record);

    int updateByPrimaryKey(Propertyvalue record);

	List<Propertyvalue> getListByPtidAndPid(@Param("ptid")int ptid, @Param("pid")int pid);

	List<Propertyvalue> getListByPid(@Param("pid")Integer pid);
}